<!DOCTYPE html>
<html>
    <head>
        <title>按钮的嵌入效果</title>
        <style type="text/css">
            .over {color:yellow; background: navy}
            .down {color:yellow; background: navy; font-style: italic}
        </style>
    </head>
    <body>
        <input
            type="Button"
            onMouseOver="this.className='over';"
            onMouseOut="this.className='';"
            onMouseDown="this.className='down';"
            onMouseUp="this.className='over';"
            value="让按钮嵌入"
            onClick="this.value='嵌入成功！'" name="Button">
    </body>
</html>
